package com.blockmeta.bbs.overallserviceapplication.routeprovider;

import android.content.Context;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.blockmeta.bbs.businesslibrary.arouter.RouterPath;
import com.blockmeta.bbs.businesslibrary.arouter.interfaces.IThirdLoginDataProvider;
import com.blockmeta.bbs.overallserviceapplication.umeng.ThirdLoginDataPOJO;

/**
 * @author AirThor
 * @date 2019/7/17.
 */
@Route(path = RouterPath.THIRD_LOGIN_DATA_PROVIDER)
public class ThirdLoginDataProvider implements IThirdLoginDataProvider {
    @Override
    public void setUid(String uid) {
        ThirdLoginDataPOJO.getINSTANCE().setUid(uid);
    }

    @Override
    public void setUnionid(String unionid) {
        ThirdLoginDataPOJO.getINSTANCE().setUnionid(unionid);
    }

    @Override
    public void setName(String name) {
        ThirdLoginDataPOJO.getINSTANCE().setName(name);
    }

    @Override
    public void setIconUrl(String iconUrl) {
        ThirdLoginDataPOJO.getINSTANCE().setIconUrl(iconUrl);
    }

    @Override
    public void setType(String type) {
        ThirdLoginDataPOJO.getINSTANCE().setType(type);
    }

    @Override
    public void setStoken(String stoken) {
        ThirdLoginDataPOJO.getINSTANCE().setStoken(stoken);
    }

    @Override
    public String getUid() {
        return ThirdLoginDataPOJO.getINSTANCE().getUid();
    }

    @Override
    public String getUnionid() {
        return ThirdLoginDataPOJO.getINSTANCE().getUnionid();
    }

    @Override
    public String getName() {
        return ThirdLoginDataPOJO.getINSTANCE().getName();
    }

    @Override
    public String getIconUrl() {
        return ThirdLoginDataPOJO.getINSTANCE().getIconUrl();
    }

    @Override
    public String getType() {
        return ThirdLoginDataPOJO.getINSTANCE().getType();
    }

    @Override
    public String getStoken() {
        return ThirdLoginDataPOJO.getINSTANCE().getStoken();
    }

    @Override
    public void init(Context context) {

    }
}
